package com.example.lotterysystem.service.dto;

import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description: 奖品列表数据
 * User: Spider-Man
 * Date: 2025-09-11
 * Time: 18:14
 */
@Data
public class PageListDTO<T> {
    private Integer total; //奖品总数
    private List<T> records;//当前页列表

    public PageListDTO(Integer total,List<T> records) {
        this.total = total;
        this.records = records;
    }
}
